package com.liuqm.pojo;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 订单明细表
 * </p>
 *
 * @author liuqiaomiao
 * @since 2024-10-21
 */
@TableName("czkt_order_line")
public class CzktOrderLine implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer skuId;

    private Integer orderId;

    /**
     * 购物数量
     */
    private Integer buyerNum;

    private BigDecimal productAmount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getBuyerNum() {
        return buyerNum;
    }

    public void setBuyerNum(Integer buyerNum) {
        this.buyerNum = buyerNum;
    }

    public BigDecimal getProductAmount() {
        return productAmount;
    }

    public void setProductAmount(BigDecimal productAmount) {
        this.productAmount = productAmount;
    }

    @Override
    public String toString() {
        return "CzktOrderLine{" +
        "id = " + id +
        ", skuId = " + skuId +
        ", orderId = " + orderId +
        ", buyerNum = " + buyerNum +
        ", productAmount = " + productAmount +
        "}";
    }
}
